<?php
declare (strict_types = 1);

namespace app\web\controller\home;

class Index
{
    public function index()
    {
       return result('成功',event('UserInfo'));;
        $params = reqDecode();//获取并参数解密
        return  suc('成功',$params);
//        return  suc('成功',['user'=>1,'name'=>'里斯','sex'=>1]);
//        return  "成功您好";
    }

    public function save()
    {
        $params = reqDecode();//获取并参数解密
        return  suc('成功',$params);
//        return  "成功您好";
    }
}
